<ul class="breadcrumb">
	<li><a href="{$BASE_PATH}intelihelp/tarefa">Tarefa</a><span class="divider">/</span></li>
	<li class='active'>Anotações</li>
</ul>
<div class="wekll">
	<h3>Tarefa {$tarefa->get('idtarefa')}</h3>
	<div class="accordion" id='acordion2'>
		<div class="accordion-group">
			<div class="accordion-heading">
				<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
					{$tarefa->get('dstitulo')}
				</a>
			</div>
			<div id="collapseOne" class="accordion-body collapse in">
				<div class="accordion-inner">
					{$tarefa->get('dstarefa')}
				</div>
			</div>
		</div>
		{foreach from=$tarefa->get('anotacoes') item=anotacao}
		<div class="accordion-group">
			<div class="accordion-heading">
				<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseAnotacao{$anotacao->get('idanotacao')}">
					{$anotacao->get('dtcadastro')->format('d/m/Y H:i:s')} - {$anotacao->get('idresponsavel')->get('nome')}
				</a>
			</div>
			<div id="collapseAnotacao{$anotacao->get('idanotacao')}" class="accordion-body collapse">
				<div class="accordion-inner">
					{$anotacao->get('dsanotacao')}
				</div>
			</div>
		</div>
		{/foreach}
	</div>
</div>